package design.templateMethod;

abstract class AbstractClass {
    public void operation(){
        System.out.println("pre...");
        System.out.println("step1...");
        System.out.println("step2...");
        templateMethod();
    }
    abstract protected void templateMethod();
}
